package cn.doit.day02

import scala.util.control.Breaks.{break, breakable}

//import scala.util.control.Breaks._

//  _   神奇的下划线    代码逻辑的封装好
object Test {
  def main(args: Array[String]): Unit = {

    val res1 =()=>{1}
    println(res1())
    println(res1.apply)

    def add(a:Int)={
      a
    }

    val intToInt: Int => Int = add _


  }

}
